<template>
  <div class="header">
    <div>
      <LContract></LContract>
    </div>
    <div>
      <FullScreen></FullScreen>
    </div>
    <div class="user">
      <img :src="this.$store.state.usermsg.userImg" alt="" />
      <p class="username">{{this.$store.state.usermsg.username}}</p>
    </div>
  </div>
</template>

<script>
import FullScreen from './tabbar/FullScreen.vue'

import LContract from './tabbar/LContract'

export default {
name:'Header',

components:{
  LContract,
FullScreen
},

}
</script>

<style scoped lang="less">
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  height: 60px;
  width: 100%;
  padding: 0 20px;
  // padding-left: 200px;
  background-color: #fff;
  .user {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    height: 60px;
    border-bottom: 2px solid rgb(3, 187, 248);
    img {
      width: 40px;
      height: 40px;
      border-radius: 50%;
        padding: 0 10px;
    }
  }
}
</style>